#!/bin/bash

#Configuracion de interfaces
ifconfig eth0 10.38.1.130 netmask 255.255.255.240
ifconfig eth0:0 10.38.23.129 netmask 255.255.255.128

#Configuracion de tabla de ruteo
# Red FLAUTA TRAVERSA
route add -net 192.168.23.0 netmask 255.255.255.0 gw 10.38.1.129 dev eth0 metric 3
# Red TRIANGULO
route add -net 10.38.1.192 netmask 255.255.255.192 gw 10.38.1.129 dev eth0 metric 2
# Red XILOFON
route add -net 10.38.1.4 netmask 255.255.255.252 gw 10.38.1.129 dev eth0 metric 1
# Red BANDONEON
route add -net 10.38.1.0 netmask 255.255.255.252 gw 10.38.1.132 dev eth0 metric 1
# Red CHARANGO
route add -net 10.38.1.32 netmask 255.255.255.224 gw 10.38.1.132 dev eth0 metric 2
# Red OBOE
route add -net 10.38.1.160 netmask 255.255.255.224 gw 10.38.1.132 dev eth0 metric 3
# Red TROMBON
route add -net 10.7.1.0 netmask 255.255.255.0 gw 10.38.1.132 dev eth0 metric 3
